package edt;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class EditButtonListener implements ActionListener {

	
	MyScheduler myScheduler;
	MySchedulerModel model;
	
	public EditButtonListener(MyScheduler myScheduler, MySchedulerModel model) {
		this.myScheduler=myScheduler;
		this.model=model;
	}

	@Override
	public void actionPerformed(ActionEvent e) {

		new EditDialog(null, "Edition creneau", true,myScheduler, model);				
		
	}

}
